package com.king.java.tools.http.factory;

import okhttp3.OkHttpClient;

/**
 * 描述:
 *
 * @author : sujinchen
 * @date : 2020/10/16
 */
public class OkhttpClientFactory {
    private static OkHttpClient client = new OkHttpClient();

    public static OkHttpClient getDefault() {
        if (client == null) {
            return new OkHttpClient();
        } else {
            return client;
        }
    }

}
